package com.easychat.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @author 10 2024/10/4
 */
@Getter
@AllArgsConstructor
public enum ExceptionCodeEnum {
     ERROR_LATER(501,"未知错误，请稍后重试！"),
     YXM_ERROR(500,"验证码错误！"),
     ALREADY_REGIS(302,"已经注册"),
     USER_NOT_REGISTER(303,"用户未注册"),
     PASSWORD_ERROR(304,"密码错误"),
     ACCOUNT_DISABLE(305,"账号被禁用"),
     ALREADY_LOGGED(306,"账号已在别处登录"),
     INSERT_ERROR(307,"添加失败"),
     NOT_LOG(308,"未登录，请登陆后再试"),
     NOT_THIS_URL(404,"请求地址不存在"),

     ERROR_REQUEST(401,"错误请求"),

     IMAGE_NOT_EXIST(309,"图片不存在");

     private Integer code;
     private String message;

}
